package org.dromara.demo.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.demo.domain.TestDemo2Line;

import java.io.Serial;
import java.io.Serializable;

/**
 * 测试主从表视图对象 test_demo2_line
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = TestDemo2Line.class)
public class TestDemo2LineVo implements Serializable {
  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 父键
   */
  @ExcelProperty(value = "父键")
  private Long id;

  /**
   * 主键
   */
  @ExcelProperty(value = "主键")
  private Long lineId;

  /**
   * 部门名称
   */
  @ExcelProperty(value = "名称")
  private String name;

  /**
   * 状态
   */
  @ExcelProperty(value = "编码")
  private String code;

}
